XIQS Map Port Group

From IQsimWiki

Jump to: navigation, search

XIQS Map Port Group - Port Group Management

Description
mapXIQSPortGroup ( Long id_portgroup , Long id_device , String deviceportmap )
Create a map link between a port group object and a device object, and return ID of the created map object.
The 'device port map list' parameter defines which device's port should be used.
Parameters

Long id_portgroup

Id of the port group object.

Long id_device

Id of the device object.

String deviceportmap

Device port map, string representation of a binary sequence (ex. "01001011" where 1 means that port index is mapped in port group.
Return Values
Long id
Id of the created map object.


Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJECT_EXISTS (451) ERR_MSG_PGRP_MAP_EXIST
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_PGRP_NOT_FOUND
*ERR_UNAUTHORIZED (401) ERR_MSG_OBJ_NOT_OWNED
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSPortGroupList

createXIQSPortGroup

updateXIQSPortGroup

deleteXIQSPortGroup

getXIQSPortGroupMapList

unmapXIQSPortGroup

getXIQSDevicePortMap

clearXIQSPortGroupMap

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List